﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    /// 班次类型表
    ///</summary>
    [SugarTable("sys_ondutytype")]
    public class SysOndutytype
    {
        /// <summary>
        /// 主键id
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 名称
        ///</summary>
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }

        /// <summary>
        /// 开始时间
        ///</summary>
        [SugarColumn(ColumnName = "starttime")]
        public string Starttime { get; set; }

        /// <summary>
        /// 结束时间
        ///</summary>
        [SugarColumn(ColumnName = "endtime")]
        public string Endtime { get; set; }

        /// <summary>
        /// 创建人
        ///</summary>
        [SugarColumn(ColumnName = "Creator")]
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime CreateDate { get; set; }
    }
}